import request from '@/utils/request'

const template = {
  reviewList(params) {
    return request.get("/kjxm/reviewTemplate/list", {params})
  },
  reviewAdd(data) {
    return request.post("/kjxm/reviewTemplate/add", data)
  },
  reviewUpdate(data) {
    return request.post("/kjxm/reviewTemplate/update", data)
  },
  reviewGet(id) {
    return request.get(`/kjxm/reviewTemplate/detail/${id}`)
  },
  reviewDel(id) {
    return request.post(`/kjxm/reviewTemplate/delete/${id}`)
  },
}

export default template;
